package agan.rpc.register;

import java.util.*;

public class LocalRegister {
    private static Map<String, Class> map = new HashMap<>();

    public static void register(String interfaceName, Class implClass) {
        map.put(interfaceName, implClass);
    }

    public static Class get(String ingerfaceName) {
        return map.get(ingerfaceName);
    }
}
